package com.atguigu.eduservice.service.impl;

import com.atguigu.eduservice.service.IPayment;
import com.atguigu.eduservice.entity.Order;
import com.atguigu.eduservice.entity.PayResult;
import org.springframework.stereotype.Service;

/**
 * 银联支付
 *
 * @author Mr.Qu
 * @since 2021/5/18 11:10
 */
@Service
public class UnionPay implements IPayment {
    @Override
    public PayResult pay(Order order) {
        System.out.println("开始银联支付");
        return PayResult.success("银联支付成功");
    }
}